home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / TooManyListenersException.java < prev    next >
Text File  |  1998-09-22  |  2KB  |  61 lines

  1. /*
  2.  * @(#)TooManyListenersException.java    1.2 98/07/01
  3.  *
  4.  * Copyright 1996-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.util;
  16.  
  17. /**
  18.  * <p>
  19.  * The <code> TooManyListenersException </code> Exception is used as part of
  20.  * the Java Event model to annotate and implement a unicast special case of
  21.  * a multicast Event Source.
  22.  * </p>
  23.  * <p>
  24.  * The presence of a <code> throws TooManyListenersException </code> clause
  25.  * on any given concrete implementation of the normally multicast semantic
  26.  * <italic> void add < EventListenerType > () </italic> event listener
  27.  * registration pattern is used to annotate that interface as implementing
  28.  * a unicast Listener special case, that is, that one and only one Listener
  29.  * may be registered on the particular event listener source concurrently.
  30.  * </p>
  31.  *
  32.  * @see java.util.EventObject
  33.  * @see java.util.EventListener
  34.  * 
  35.  * @version 1.2 98/07/01
  36.  * @author Laurence P. G. Cable
  37.  */
  38.  
  39. public class TooManyListenersException extends Exception {
  40.  
  41.     /**
  42.      * Constructs a TooManyListenersException with no detail message.
  43.      * A detail message is a String that describes this particular exception.
  44.      */
  45.  
  46.     public TooManyListenersException() {
  47.     super();
  48.     }
  49.  
  50.     /**
  51.      * Constructs a TooManyListenersException with the specified detail message.
  52.      * A detail message is a String that describes this particular exception.
  53.      * @param s the detail message
  54.      */
  55.  
  56.     public TooManyListenersException(String s) {
  57.     super(s);
  58.     }
  59. }
  60.  
  61.